.class Lcom/example/m6shop/EditSalesActivity$12;
.super Ljava/lang/Thread;
.source "EditSalesActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/EditSalesActivity;->getSource()Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/EditSalesActivity;


# direct methods
.method constructor <init>(Lcom/example/m6shop/EditSalesActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    .line 463
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 13

    .prologue
    const/4 v12, 0x1

    .line 465
    invoke-super {p0}, Ljava/lang/Thread;->run()V

    .line 467
    new-instance v4, Landroid/os/Message;

    invoke-direct {v4}, Landroid/os/Message;-><init>()V

    .line 469
    .local v4, "msg":Landroid/os/Message;
    sget-object v9, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string v10, "\u5f00\u59cb\u6293\u53d6\u6570\u636e---"

    invoke-virtual {v9, v10}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 470
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    .line 471
    const-string v10, "userInfo"

    const/4 v11, 0x0

    .line 470
    invoke-virtual {v9, v10, v11}, Lcom/example/m6shop/EditSalesActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v6

    .line 472
    .local v6, "preferences":Landroid/content/SharedPreferences;
    const-string v9, "uid"

    const-string v10, ""

    invoke-interface {v6, v9, v10}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 473
    .local v0, "account":Ljava/lang/String;
    const-string v9, "pass"

    const-string v10, ""

    invoke-interface {v6, v9, v10}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    .line 474
    .local v5, "password":Ljava/lang/String;
    if-eqz v0, :cond_0

    const-string v9, ""

    invoke-virtual {v0, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_1

    .line 475
    :cond_0
    invoke-static {}, Lmyclass/Util;->dismisDialog()V

    .line 476
    const-string v9, "nologin"

    iput-object v9, v4, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 477
    iput v12, v4, Landroid/os/Message;->arg1:I

    .line 478
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->h:Landroid/os/Handler;
    invoke-static {v9}, Lcom/example/m6shop/EditSalesActivity;->access$33(Lcom/example/m6shop/EditSalesActivity;)Landroid/os/Handler;

    move-result-object v9

    invoke-virtual {v9, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 541
    :goto_0
    return-void

    .line 482
    :cond_1
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->et_name:Landroid/widget/EditText;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$25(Lcom/example/m6shop/EditSalesActivity;)Landroid/widget/EditText;

    move-result-object v10

    invoke-virtual {v10}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v10

    invoke-interface {v10}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10}, Lcom/example/m6shop/EditSalesActivity;->access$34(Lcom/example/m6shop/EditSalesActivity;Ljava/lang/String;)V

    .line 483
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->et_cost:Landroid/widget/EditText;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$35(Lcom/example/m6shop/EditSalesActivity;)Landroid/widget/EditText;

    move-result-object v10

    invoke-virtual {v10}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v10

    invoke-interface {v10}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10}, Lcom/example/m6shop/EditSalesActivity;->access$36(Lcom/example/m6shop/EditSalesActivity;Ljava/lang/String;)V

    .line 485
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->checkBoxs:Ljava/util/List;
    invoke-static {v9}, Lcom/example/m6shop/EditSalesActivity;->access$37(Lcom/example/m6shop/EditSalesActivity;)Ljava/util/List;

    move-result-object v9

    invoke-interface {v9}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v9

    :cond_2
    :goto_1
    invoke-interface {v9}, Ljava/util/Iterator;->hasNext()Z

    move-result v10

    if-nez v10, :cond_3

    .line 490
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->tv_start:Landroid/widget/TextView;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$0(Lcom/example/m6shop/EditSalesActivity;)Landroid/widget/TextView;

    move-result-object v10

    invoke-virtual {v10}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v10

    invoke-interface {v10}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10}, Lcom/example/m6shop/EditSalesActivity;->access$40(Lcom/example/m6shop/EditSalesActivity;Ljava/lang/String;)V

    .line 491
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->tv_end:Landroid/widget/TextView;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$4(Lcom/example/m6shop/EditSalesActivity;)Landroid/widget/TextView;

    move-result-object v10

    invoke-virtual {v10}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v10

    invoke-interface {v10}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10}, Lcom/example/m6shop/EditSalesActivity;->access$41(Lcom/example/m6shop/EditSalesActivity;Ljava/lang/String;)V

    .line 492
    new-instance v9, Ljava/lang/StringBuilder;

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    iget-object v10, v10, Lcom/example/m6shop/EditSalesActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v10}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v10

    invoke-direct {v9, v10}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 493
    const-string v10, "/index.php?ctrl=app&action=savecx&datatype=json&uid="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&pwd="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&id="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->id:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$42(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&name="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    .line 494
    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->name:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$26(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&limittype="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->limittype:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$43(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&limittime="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->limittime:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$38(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&limitcontent="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->limitcontent:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$44(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&controltype="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->controltype:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$12(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&controlcontent="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->controlcontent:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$17(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    .line 495
    const-string v10, "&presenttitle="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->presenttitle:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$45(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&status="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->status:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$46(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&signid="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->signid:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$47(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&starttime="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->starttime:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$48(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "&endtime="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->endtime:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$49(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    .line 492
    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    .line 496
    .local v8, "url":Ljava/lang/String;
    sget-object v9, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "\u8c03\u7528\u66f4\u65b0\u6570\u636e----------------------------"

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 497
    invoke-static {v8}, Lmyclass/HttpConn;->getStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    .line 498
    .local v7, "str":Ljava/lang/String;
    sget-object v9, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "\u8fd4\u56de\u6570\u636e"

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v10, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 501
    :try_start_0
    new-instance v3, Lorg/json/JSONObject;

    invoke-direct {v3, v7}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 503
    .local v3, "json":Lorg/json/JSONObject;
    const-string v9, "error"

    invoke-virtual {v3, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    const-string v10, "true"

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_4

    .line 504
    invoke-static {}, Lmyclass/Util;->dismisDialog()V

    .line 506
    const-string v9, "msg"

    invoke-virtual {v3, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    iput-object v9, v4, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 507
    const/4 v9, 0x1

    iput v9, v4, Landroid/os/Message;->arg1:I

    .line 508
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->h:Landroid/os/Handler;
    invoke-static {v9}, Lcom/example/m6shop/EditSalesActivity;->access$33(Lcom/example/m6shop/EditSalesActivity;)Landroid/os/Handler;

    move-result-object v9

    invoke-virtual {v9, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    .line 533
    .end local v3    # "json":Lorg/json/JSONObject;
    :catch_0
    move-exception v2

    .line 535
    .local v2, "e":Lorg/json/JSONException;
    invoke-virtual {v2}, Lorg/json/JSONException;->printStackTrace()V

    .line 536
    invoke-static {}, Lmyclass/Util;->dismisDialog()V

    .line 538
    const/4 v9, 0x4

    iput v9, v4, Landroid/os/Message;->arg1:I

    .line 539
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->h:Landroid/os/Handler;
    invoke-static {v9}, Lcom/example/m6shop/EditSalesActivity;->access$33(Lcom/example/m6shop/EditSalesActivity;)Landroid/os/Handler;

    move-result-object v9

    invoke-virtual {v9, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto/16 :goto_0

    .line 485
    .end local v2    # "e":Lorg/json/JSONException;
    .end local v7    # "str":Ljava/lang/String;
    .end local v8    # "url":Ljava/lang/String;
    :cond_3
    invoke-interface {v9}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/widget/CheckBox;

    .line 486
    .local v1, "cbx":Landroid/widget/CheckBox;
    invoke-virtual {v1}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v10

    if-eqz v10, :cond_2

    .line 487
    iget-object v10, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->limittime:Ljava/lang/String;
    invoke-static {v10}, Lcom/example/m6shop/EditSalesActivity;->access$38(Lcom/example/m6shop/EditSalesActivity;)Ljava/lang/String;

    move-result-object v11

    new-instance v12, Ljava/lang/StringBuilder;

    invoke-static {v11}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v11

    invoke-direct {v12, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v11, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->checkBoxs:Ljava/util/List;
    invoke-static {v11}, Lcom/example/m6shop/EditSalesActivity;->access$37(Lcom/example/m6shop/EditSalesActivity;)Ljava/util/List;

    move-result-object v11

    invoke-interface {v11, v1}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v11

    add-int/lit8 v11, v11, 0x1

    invoke-virtual {v12, v11}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, ","

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v11

    invoke-static {v10, v11}, Lcom/example/m6shop/EditSalesActivity;->access$39(Lcom/example/m6shop/EditSalesActivity;Ljava/lang/String;)V

    goto/16 :goto_1

    .line 511
    .end local v1    # "cbx":Landroid/widget/CheckBox;
    .restart local v3    # "json":Lorg/json/JSONObject;
    .restart local v7    # "str":Ljava/lang/String;
    .restart local v8    # "url":Ljava/lang/String;
    :cond_4
    :try_start_1
    const-string v9, "msg"

    invoke-virtual {v3, v9}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v9

    if-eqz v9, :cond_5

    .line 512
    invoke-static {}, Lmyclass/Util;->dismisDialog()V

    .line 513
    const/4 v9, 0x2

    iput v9, v4, Landroid/os/Message;->arg1:I

    .line 514
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->h:Landroid/os/Handler;
    invoke-static {v9}, Lcom/example/m6shop/EditSalesActivity;->access$33(Lcom/example/m6shop/EditSalesActivity;)Landroid/os/Handler;

    move-result-object v9

    invoke-virtual {v9, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto/16 :goto_0

    .line 518
    :cond_5
    const-string v9, "msg"

    invoke-virtual {v3, v9}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v9

    if-nez v9, :cond_6

    .line 519
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    const-string v10, "msg"

    invoke-virtual {v3, v10}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

    iput-object v10, v9, Lcom/example/m6shop/EditSalesActivity;->message:Ljava/lang/String;

    .line 521
    :cond_6
    sget-object v9, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string v10, "\u8f6c\u6362\u6570\u636e"

    invoke-virtual {v9, v10}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 528
    sget-object v9, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string v10, "\u8fd4\u56de\u6570\u636e\u7ed3\u675f"

    invoke-virtual {v9, v10}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 529
    invoke-static {}, Lmyclass/Util;->dismisDialog()V

    .line 530
    sget-object v9, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string v10, "\u5173\u95ed\u63d0\u793a"

    invoke-virtual {v9, v10}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 531
    const/4 v9, 0x3

    iput v9, v4, Landroid/os/Message;->arg1:I

    .line 532
    iget-object v9, p0, Lcom/example/m6shop/EditSalesActivity$12;->this$0:Lcom/example/m6shop/EditSalesActivity;

    # getter for: Lcom/example/m6shop/EditSalesActivity;->h:Landroid/os/Handler;
    invoke-static {v9}, Lcom/example/m6shop/EditSalesActivity;->access$33(Lcom/example/m6shop/EditSalesActivity;)Landroid/os/Handler;

    move-result-object v9

    invoke-virtual {v9, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_0
.end method

.method public declared-synchronized start()V
    .locals 1

    .prologue
    .line 544
    monitor-enter p0

    :try_start_0
    invoke-super {p0}, Ljava/lang/Thread;->start()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 545
    monitor-exit p0

    return-void

    .line 544
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method
